home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_3 / multiuser / extern / netmufs1.1 / accounts / makefile < prev    next >
Makefile  |  1994-03-07  |  1KB  |  83 lines

  1. #
  2. #    $VER: makefile 1.2 (04.02.94)
  3. #
  4. #    makefile for accounts.library
  5. #    © Copyright 1994 by Norbert Püschel
  6. #    All Rights Reserved
  7. #
  8.  
  9. #------------------ files -------------------------------------------------
  10.  
  11. MAIN_TARGETS = accounts.library
  12.  
  13. CINCL   =
  14.  
  15. CSRC    = accountslib.c accounts.c
  16.  
  17. COBJS    = accountslib.o accounts.o 
  18.  
  19. ASRC    =
  20. AOBJS    =
  21.  
  22. LHDR    = accountshdr.o
  23.  
  24. DCF    = DEF=__USE_SYSBASE
  25.  
  26. CF    = $(DCF) NOSTKCHK IDIR=/include
  27.  
  28. DAF    =
  29.  
  30. AF    = $(DAF) -iINCLUDE: -i/include/
  31.  
  32. LOPTS    = SC SD ND NOICONS
  33.  
  34. LLIBS    = LIB:sc.lib LIB:amiga.lib
  35.  
  36. #------------------ rules -------------------------------------------------
  37.  
  38. .a.o:
  39.     asm $(AF) $*.a
  40.  
  41. .c.o:
  42.     sc $(CF) $*.c
  43.  
  44. .fd.i:
  45.     fd2i $*.fd $@
  46.  
  47. .fd.a:
  48.         fd2stub $*.fd $@
  49.  
  50. .o.lib:
  51.     oml $@ r $?
  52.  
  53. .a.doc:
  54.     autodoc >$@ -a -I -t8 $(ASRC)
  55.  
  56. .c.doc:
  57.     autodoc >$@ -C -c -I -t8 $(CSRC)
  58.  
  59. #------------------ commands ---------------------------------------------
  60.  
  61. all: $(MAIN_TARGETS)
  62.  
  63. # library
  64.  
  65. accounts.library: $(LHDR) $(AOBJS) $(COBJS)
  66.     slink < WITH < 
  67.           $(LOPTS)
  68.           FROM $(LHDR) $(AOBJS) $(COBJS) 
  69.           TO $@ 
  70.           LIB $(LLIBS)
  71.         <
  72.     copy $@ LIBS: clone
  73.     avail >NIL: flush
  74.     avail >NIL: flush
  75.  
  76. accountslib.o: accountslib.c
  77.  
  78. accounts.o: accounts.c
  79.  
  80. $(COBJS): $(CINCL)
  81.  
  82.  
  83.